package com.tomdd.controller;

import com.tomdd.config.WxMpProperties;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zx
 * @date 2025-03-12 12:36
 */
@RestController
@RequestMapping("/test")
@AllArgsConstructor
public class TestController {

    private final WxMpProperties wxMpProperties;

    @GetMapping("/getWxMpConfig")
    public String getWxMpConfig() {
        return wxMpProperties.toString();
    }
}
